package com.aiyige.model.request;

public class AgreementRequest {
    public static final String TYPE_USER_SERVICE = "user_service";
    public static final String TYPE_COMMODITY_COOPERATION = "commodity_cooperation";
    String type;

    private AgreementRequest(Builder builder) {
        setType(builder.type);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public AgreementRequest() {
    }


    public static final class Builder {
        private String type;

        private Builder() {
        }

        public Builder type(String val) {
            type = val;
            return this;
        }

        public AgreementRequest build() {
            return new AgreementRequest(this);
        }
    }
}
